// 2013-9-15下午03:22:01  net.betou.trade.main.manager.ConfigMng.java

package net.betou.trade.main.manager;

import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.AgentAndAdmins;
import net.betou.trade.entity.main.Config;

/**
 * 
 * @author 叶装装
 */
public interface ConfigMng{

	public Config save( Config bean, AgentAndAdmins admin, String ip );
	
	/**
	 * 初始化默认的站点配置
	 * @return
	 */
	public Config initDefault( );
	
	public Config update( Config bean, String name, String logo );
	
	public Config [ ] deleteByIds( Integer [ ] ids );
	
	public Config findById( Integer id );
	
	public Pagination getPage( String searchProperty, String searchValue, String orderProperty, String orderDirection, String filterStatus, int pageNo, int pageSize );
	
	public Config findConfig( AgentAndAdmins admin );
	
}
